{extend name="index/index"}
{block name="content"}
<form action="{:url('admin/Serve/data', ['id'=>$data['id']])}" class="am-form" method="post" enctype="multipart/form-data">
  <fieldset>
    <legend>用户编辑</legend>
    <div class="am-form-group">
      <input type="hidden" name="id" value="{$data['id']}">
      <label for="doc-vld-name">图片：</label>
      <img src="/uploads/{$data['icon']}" height="200px">
      <input type="file" id="doc-vld-name" name="icon"  class="am-form-field" value="/uploads/{$data['icon']}">
      <input type="submit" value="提交" class="am-btn am-btn-default am-btn-xs am-text-secondary">
    </div>
  </fieldset>
</form>
{/block}